package ipebg.mzk.facade.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author H2601981 2015/10/10
 *
 */
@Entity
@Table(name = "MS_USERROLE")
public class MsAdminUserRole implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5599388113664639054L;
	@Id
	@Column(name = "ADMINID")
	private String adminId;
	@Id
	@Column(name = "ROLEID")
	private String roleId;

	public MsAdminUserRole() {

	}
	public MsAdminUserRole(String adminId, String roleId) {
		this.adminId = adminId;
		this.roleId = roleId;
	}

	public String getAdminId() {
		return adminId;
	}

	public void setAdminId(String adminId) {
		this.adminId = adminId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

}
